package com.booklove.service.book;

import com.booklove.domain.dto.DonatebookDTO;
import com.booklove.domain.dto.PageDTO;
import com.booklove.domain.po.Donatebook;
import com.baomidou.mybatisplus.extension.service.IService;
import com.booklove.domain.query.DonatebookQuery;
import com.booklove.domain.vo.DonatebookVO;

/**
 * <p>
 * 捐赠书信息 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-21
 */
public interface DonatebookService extends IService<Donatebook> {

    PageDTO<DonatebookVO> queryDonatebooksPage(DonatebookQuery donatebookQuery);

    DonatebookVO getVOById(Integer id);

    void createDonateBook(DonatebookDTO donatebookDTO);
}
